package io.github.i678.startertools.api.exception;

public class DeprecatedMethodException extends Exception {
    private static final long serialVersionUID = 1L;

    public DeprecatedMethodException(String path) {
        super(path == null || path.equals("") ? "This method is deprecated." : "This method is deprecated. Use the new method: " + path);
    }

}